<template>
  <div class>
    <naviHeader></naviHeader>
    <div class="title">
      <div>收入来源</div>
      <div>交易方式</div>
      <div>时间</div>
      <div>金额</div>
    </div>

    <div class="container">
      <div class="item" v-for="item in list" :key="item.index">
        <div>收入来源</div>
        <div>交易方式</div>
        <div>时间</div>
        <div>金额</div>
      </div>
    </div>
    <div v-if="list.length === 0" class="blank-plane">
      <div>
        <img src="../../images/icon/blank.png" alt="">
        <div class="text-999">暂无数据</div>
      </div> 
    </div>
  </div>
</template>

<script>
import naviHeader from "src/components/naviHeader/naviHeader";

export default {
  data() {
    return {
      list: [
        // {
        //   name: ""
        // }
      ]
    };
  },

  mounted() {
    // console.log(title, descriptions);
  },
  components: {
    naviHeader
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
@import "../../style/mixin";

.title {
  @include fj(space-around);
  align-items: center;
  height: 1rem;
  line-height: 1rem;
  background: #fff;
  border-top: 2px solid #f1f1f1;
}

.item {
  @include fj(space-around);
  align-items: center;
  height: 1rem;
  line-height: 1rem;
  background: #fff;
  border-top: 2px solid #f1f1f1;
}

.blank-plane {
  @include fj(center);
  width: 7.5rem;
  margin-top: 2rem;
  
  .text-999{
    @include sc(0.28rem, #999);
    margin-top: 0.3rem;
  }
}

</style>
